<?php

namespace App\controller;


use Application\controller\BaseLoginController;
use Cola\Controller;

class PublicController extends BaseLoginController
{
    public function makeConfig(){
        $this->result($this->model('Channel')->makeAliasConfig());
    }

    public function makeChannelConfig(){
        $this->result($this->model('Channel')->makeChannelConfig());
    }
    public function getSDKList(){
        $this->result($this->model('Channel')->getSDKList());
    }
    public function result($data)
    {
        exit(json_encode($data));
    }
}